package com.softeem.score.manager.service;

import com.github.pagehelper.PageInfo;
import com.softeem.score.model.entity.system.SysRole;

import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zhu
 * @since 2024-02-14
 */
public interface SysRoleService {

    void saveSysRole(SysRole sysRole);

    void updateSysRole(SysRole sysRole);

    void deleteById(Long roleId);

    Map<String, Object> findAllRoles(Long userId);

    PageInfo<SysRole> findByPage(String roleName, Integer pageNum, Integer pageSize);

}
